﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ertekel.aspx.cs" Inherits="NEMProjectWebApp.Pages.Diak.oktelerhetoseg" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <br />
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table>
                <tr>
                    <td>
                        <asp:Label ID="Targylabel" runat="server" Text="Tárgyak:"></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="TargyDropDownList" runat="server" Width="389px" DataSourceID="SqlDataSource1"
                            DataTextField="TargyNeve" DataValueField="T_ID">
                        </asp:DropDownList>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:masterConnectionString %>"
                            SelectCommand="SELECT [T_ID], [TargyNeve] FROM [Targy]"></asp:SqlDataSource>
                    </td>
                    <td>
                        <asp:RadioButton ID="AnyagRadioButton" runat="server" Checked="True" GroupName="Ertekel"
                            Text="Tárgy értékelés" Width="150px" AutoPostBack="True" 
                            oncheckedchanged="AnyagRadioButton_CheckedChanged" />
                        <asp:RadioButton ID="OktRadioButton" runat="server" GroupName="Ertekel" Text="Oktató értékelése"
                            Width="150px" AutoPostBack="True" OnCheckedChanged="OktRadioButton_CheckedChanged" />
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    <br />
    <asp:Label ID="ErtekelLabel" runat="server" Text="Értékelés:"></asp:Label>
    <br />
    <asp:TextBox ID="ErtekelTextBox" runat="server" Height="200px" Width="800px" TextMode="MultiLine"></asp:TextBox>
    <br />
    <asp:Button ID="ElkuldButton" runat="server" Text="Értékelés beküldése" 
        onclick="ElkuldButton_Click" />
</asp:Content>
